package com.lxl.securitypermission.entity;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * @author 绫小路
 * @date 2021/1/4 21:52
 * @description
 */
@Data
public class SPermission implements Serializable {

  private Integer id;

  /**
   * 样板，url表达式，如：/admin/**、/user/log
   */
  private String pattern;

  /**
   * 动作：读写：RW、R、W
   */
  private String action;

  /**
   * 状态：0无效，1有效，2删除
   */
  private Integer status;

  private Date createTime;

  private Date updateTime;

  private static final long serialVersionUID = 1L;
}